package org.snail.proxy.server.config;

public class NettyConfig {
    private int tcplog;
    private int bossNum;
    private int workerNum;
    private int flushInterval;
    private int port;
    private String ip;

    public int getTcplog() {
        return tcplog;
    }

    public void setTcplog(int tcplog) {
        this.tcplog = tcplog;
    }

    public int getBossNum() {
        return bossNum;
    }

    public void setBossNum(int bossNum) {
        this.bossNum = bossNum;
    }

    public int getWorkerNum() {
        return workerNum;
    }

    public void setWorkerNum(int workerNum) {
        this.workerNum = workerNum;
    }

    public int getFlushInterval() {
        return flushInterval;
    }

    public void setFlushInterval(int flushInterval) {
        this.flushInterval = flushInterval;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    @Override
    public String toString() {
        return "{" +
                "port=" + port +
                ", ip='" + ip + '\'' +
                '}';
    }
}
